#ifndef QTEXTWIDGET_H
#define QTEXTWIDGET_H

#include "qabstractstylesheetwidget.h"

#include <QWidget>

namespace Ui {
class QTextWidget;
}

namespace CORELIB
{

    class QTextWidget : public QAbstractStylesheetWidget
    {
        Q_OBJECT

    public:
        explicit QTextWidget(QWidget *parent = 0);
        ~QTextWidget();

        void    setItem(const tagStylesheetItem &item);
        void    takeResource();
    protected:
        QIcon   createIcon(const QGradient &gradient);
    private slots:
        void on_pushButton_clicked();

    private:
        Ui::QTextWidget *ui;
    };

}

#endif // QTEXTWIDGET_H
